<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style type="text/css"></style>
    <script src="./jquery-1.8.3.min.js"></script>
    <script>
        window.onload = function() {
            console.log('onload 1');
            // console.log(box);
        }
        window.onload = function() {
            console.log('onload 2');
            // console.log(box);
        }

        // JQ 标准入口
        $(document).ready(function(){
            console.log('ready 1');
            // console.log(box + '前');
        });
        $(document).ready(function(){
            console.log('ready 2');
            // console.log(box + '前');
        });
        $(document).ready(function(){
            console.log('ready 3');
            // console.log(box + '前');
        });


    </script>
</head>
<body>
    <h1>Jquery</h1>
    <hr>
    <div id="box">1234578</div>
    <!-- <img src="http://www.facebook.com/pic/1.jpg"> -->

    <script>
        // console.log(box + '后');
        

    </script>
</body>
</html>